package com.zijie.hosptal.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zijie.hosptal.pojo.po.Reserve;

import java.util.List;

public interface ReserveService {

    Page<Reserve> list(Page<Reserve> reservePage, Reserve reserve);

    boolean save(Reserve reserve);

    boolean updateById(Reserve reserve);

    boolean rateReserve(Reserve reserve);

    boolean saveOrUpdateBatch(List<Reserve> list);


    boolean removeReserve(Reserve reserve);

    Page<Reserve> listReserves(Page<Reserve> reservePage, Reserve reserve);

    boolean sendEmail(Integer patientId, String content);
}
